math/rand.Zipf.hinv (method)

3 uses

	math/rand (current package)
		zipf.go#L31: func (z *Zipf) hinv(x float64) float64 {
		zipf.go#L52: 	z.s = 1 - z.hinv(z.h(1.5)-math.Exp(-z.q*math.Log(z.v+1.0)))
		zipf.go#L67: 		x := z.hinv(ur)